package com.obelisco.vista.controles;


import nextapp.echo2.app.button.ButtonGroup;


public class RadioButton extends nextapp.echo2.app.RadioButton {
	/**
	 * Creates a new <code>RadioButtonBase</code>.
	 */
		
	public RadioButton() {
		super();
	}
	
	public RadioButton(String texto, ButtonGroup buttonGroup, Boolean seleccion) {
		super();

		// Add design-time configured components.
		initComponents();
		setText(texto);
		setGroup(buttonGroup);
		if (seleccion != null)
		{
			setSelected(seleccion);
		}
	}

	/**
	 * Configures initial state of component.
	 * WARNING: AUTO-GENERATED METHOD.
	 * Contents will be overwritten.
	 */
	private void initComponents() {
		setStyleName("Obelisco.RadioButton");
	}
}
